package com.sgb.kjwl.model.entity;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

/**
 * 设备机械价格单位
 */
public class PriceCompany  implements IPickerViewData {
    /**
     * value : 元/天
     * key : 2
     */
    @SerializedName("name")
    private String name;

    @SerializedName(value = "key", alternate = {"id","no"})
    private String key;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }


    @Override
    public String getPickerViewText() {
        return name;
    }
}